<script setup lang="ts">
</script>

<template>
  <div>
    <header>
      <div>left</div>
      <div>center</div>
      <div>right</div>
    </header>
  </div>
</template>


<style scoped>
header {
  display: flex;
  justify-content: space-between;
 
  div {
    height: 50px;
    color: white;
    text-align: center;
    line-height: 50px;
  }

  div:nth-child(1) {
    width: 100px;
    background: red;
  }

  div:nth-child(2) {
    flex: 1;
    background: green;
    border: 1px solid #ccc;
  }

  div:nth-child(3) {
    width: 100px;
    background: blue;
  }
}

</style>
